/**
 * Copyright (C)  2011  chen wei hua.
 * Permission is granted to copy, distribute and/or modify this document
 * under the terms of the GNU Free Documentation License, Version 2.0
 * or any later version published by the Free Software Foundation;
 * with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
 * A copy of the license is included in the section entitled "GNU Free Documentation License".
 */
package com.javaeye.chenweihuacwh.dto.orderManage;

import java.util.Date;

import com.javaeye.chenweihuacwh.dto.DTO;

public class OrderDetail implements DTO {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 8785936138754021678L;
	
	private int id;
	
	private int productId;
	
	private String productName;
	
	private String productCategory;
	
	private String productType;
	
	private String productNo;
	
	private String customNo;
	
	private int number;
	
	private String unit;
	
	private double price;
	
	private int packageNumber;
	
	private Date finishDate;
	
	private Integer inStoreNumber;
	
	private String changeReason;
	
	private String batchNumber;
	
	private CustomerOrder order;

	public int getProductId() {
		return productId;
	}

	public void setProductId(int productId) {
		this.productId = productId;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public int getNumber() {
		return number;
	}

	public void setNumber(int number) {
		this.number = number;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getId() {
		return id;
	}

	public void setOrder(CustomerOrder order) {
		this.order = order;
	}

	public CustomerOrder getOrder() {
		return order;
	}

	public void setPackageNumber(int packageNumber) {
		this.packageNumber = packageNumber;
	}

	public int getPackageNumber() {
		return packageNumber;
	}

	public void setFinishDate(Date finishDate) {
		this.finishDate = finishDate;
	}

	public Date getFinishDate() {
		return finishDate;
	}

	public void setChangeReason(String changeReason) {
		this.changeReason = changeReason;
	}

	public String getChangeReason() {
		return changeReason;
	}

	public void setInStoreNumber(Integer inStoreNumber) {
		this.inStoreNumber = inStoreNumber;
	}

	public Integer getInStoreNumber() {
		return inStoreNumber;
	}
	
	public void setProductType(String productType) {
		this.productType = productType;
	}

	public String getProductType() {
		return productType;
	}

	public void setCustomNo(String customNo) {
		this.customNo = customNo;
	}

	public String getCustomNo() {
		return customNo;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getUnit() {
		return unit;
	}

	/**
	 * @param productCategory the productCategory to set
	 */
	public void setProductCategory(String productCategory) {
		this.productCategory = productCategory;
	}

	/**
	 * @return the productCategory
	 */
	public String getProductCategory() {
		return productCategory;
	}

	/**
	 * @param productNo the productNo to set
	 */
	public void setProductNo(String productNo) {
		this.productNo = productNo;
	}

	/**
	 * @return the productNo
	 */
	public String getProductNo() {
		return productNo;
	}
	
	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public void setBatchNumber(String batchNumber) {
		this.batchNumber = batchNumber;
	}

	public String getBatchNumber() {
		return batchNumber;
	}
}
